package com.jbit.examSystem.pojo;

import java.io.Serializable;

//考试成绩类
public class Score implements Serializable {
    private Integer id;
    private Student student;
    private Exam exam;
    private TestPaper testPaper;
    private Integer correctAmount;
    private Integer okAmount;
    private Integer score;//分数

    @Override
    public String toString() {
        return "Score{" +
                "id=" + id +
                ", student=" + student +
                ", exam=" + exam +
                ", testPaper=" + testPaper +
                ", correctAmount=" + correctAmount +
                ", okAmount=" + okAmount +
                ", score=" + score +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Student getStudent() {
        return student;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    public Exam getExam() {
        return exam;
    }

    public void setExam(Exam exam) {
        this.exam = exam;
    }

    public TestPaper getTestPaper() {
        return testPaper;
    }

    public void setTestPaper(TestPaper testPaper) {
        this.testPaper = testPaper;
    }

    public Integer getCorrectAmount() {
        return correctAmount;
    }

    public void setCorrectAmount(Integer correctAmount) {
        this.correctAmount = correctAmount;
    }

    public Integer getOkAmount() {
        return okAmount;
    }

    public void setOkAmount(Integer okAmount) {
        this.okAmount = okAmount;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }
}
